package com.xyh.flowershop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyh.flowershop.domain.RecevingCode;
import com.xyh.flowershop.vo.req.code.CodePageReqVo;
import com.xyh.flowershop.vo.req.code.CodeReqVo;
import com.xyh.flowershop.vo.resp.code.CodePageRespVo;
import com.xyh.flowershop.vo.resp.code.CodeRespVo;

import java.util.List;

/**
 * @author 小约翰可汗
 * @className RecevingCode
 * @createTime 2024/5/215:59
 */
public interface RecevingCodeService extends IService<RecevingCode> {

    Boolean addRecevingCode(CodeReqVo vo);

    Boolean editRecevingCode(CodeReqVo vo);

    IPage<CodePageRespVo> findPage(CodePageReqVo vo);

    Boolean deleteCode(List<String> ids);

    CodeRespVo findCode(String id);
}
